
exports.arr = [
	{
		path: '/resource',
		name: 'resource',
		meta: {title: '资源管理'},
		component: function (r) {
			
			require(['@/views/resource/index.vue'], r)
		},
	},
	{
		path: '/resource/my-resource',
		name: 'resourceMyResource',
		meta: {title: '书籍'},
		component: function(r){
			require(['@/views/resource/my-resource.vue'], r)
		}
	},
	{
		path: '/resource/book-info',
		name: 'resourceBookInfo',
		meta: {title: '书籍简介'},
		component: function(r){
			console.log(r)
			require(['@/views/resource/book-info.vue'], r)
		}
	},
	{
		path: '/resource/read-book',
		name: 'resourceReadbook',
		meta: {title: '阅读书籍'},
		component: function (r) {
			require(['@/views/resource/read-book.vue'], r)
		}
	},
	// {
	// 	path: '/resource/course',
	// 	name: 'resourceCourse',
	// 	meta: {title: '课程'},//暂时没用，在my-resource下
	// 	component: function(r){
	// 		require(['@/views/resource/course.vue'], r)
	// 	}
	// },
	// {
	// 	path: '/resource/course-info',
	// 	name: 'resourceCourseInfo',
	// 	meta: {title: '课程详情'},
	// 	component: function (r) {
	// 		require(['@/views/resource/course-info.vue'], r)
	// 	}
	// },
	// {
	// 	path: '/resource/course-content-video',
	// 	name: 'resourceCourseContentVideo',
	// 	meta: {title: '视频详情'},
	// 	component: function (r) {
	// 		require(['@/views/resource/course-content-video.vue'], r)
	// 	}
	// },
	// {
	// 	path: '/resource/course-content-audio',
	// 	name: 'resourceCourseContentAudio',
	// 	meta: {title: '音频详情'},
	// 	component: function (r) {
	// 		require(['@/views/resource/course-content-audio.vue'], r)
	// 	}
	// },
    // {
    //     path: '/resource/course-content-txt',
    //     name: 'resourceCourseContentTxt',
    //     meta: {title: '文本详情'},
    //     component: function (r) {
    //         require(['@/views/resource/course-content-txt.vue'], r)
    //     }
    // },
	// {
	// 	path: '/resource/add-resource-list',
	// 	name: 'resourceAddResourceList',
	// 	meta: {title: '营销案例'},//暂时没用，在my-resource下
	// 	component: function (r) {
	// 		require(['@/views/resource/add-resource-list.vue'], r)
	// 	}
	// },
    {
        path: '/resource/add-resource',
        name: 'resourceAddResource',
        meta: {title: '添加资源'},
        component: function(r){
            require(['@/views/resource/add-resource.vue'], r)
        }
    },
    {
        path: '/resource/upload-resource',
        name: 'resourceUploadResource',
        meta: {title: '上传素材'},
        component: function(r){
            require(['@/views/resource/upload-resource.vue'], r)
        }
    },
    {
        path: '/resource/buy-car',
        name: 'resourceBuyCar',
        meta: {title: '购物车'},
        component: function(r){
            require(['@/views/resource/buy-car.vue'], r)
        }
    },
    {
        path: '/resource/my-order',
        name: 'resourceMyOrder',
        meta: {title: '我的订单'},
        component: function(r){
            require(['@/views/resource/my-order.vue'], r)
        }
    },
	{
		path: '/resource/upload-info',
		name: 'resourceUploadInfo',
		meta: {title: '上传资料_详情'},
		component: function (r) {
			require(['@/views/resource/upload-info.vue'], r)
		}
	},
	// {
	// 	path: '/resource/course-list',
	// 	name: 'resourceCourseList',
	// 	meta: {title: '课程列表'},//暂时没用，在book-list下
	// 	component: function (r) {
	// 		require(['@/views/resource/course-list.vue'], r)
	// 	}
	// },
	{
		path: '/resource/book-list',
		name: 'resourceBookList',
		meta: {title: '书籍列表'},
		component: function (r) {
			require(['@/views/resource/book-list.vue'], r)
		}
	},
	{
		path: '/resource/courses-info',
		name: 'resourceCoursesInfo',
		meta: {title: '课程详情'},//资源库下课程详情
		component: function (r) {
			require(['@/views/resource/courses-info.vue'], r)
		}
	},
	{
		path: '/resource/books-info',
		name: 'resourceBooksInfo',
		meta: {title: '书籍详情'},//资源库下书籍详情
		component: function (r) {
			require(['@/views/resource/books-info.vue'], r)
		}
	},
    {
        path: '/resource/resource-classify',
        name: 'resourceResourceClassify',
        meta: {title: '类型设置'},
        component: function (r) {
            require(['@/views/resource/resource-classify.vue'], r)
        }
    },
    {
        path: '/resource/resource-pay',
        name: 'resourceResourcePay',
        meta: {title: '支付页面'},
        component: function (r) {
            require(['@/views/resource/resource-pay.vue'], r)
        }
    }

]

